﻿<Window x:Class="QLHH.LoginWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="LoginWindow" Height="300" Width="300">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="72"/>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="auto"/>
        </Grid.RowDefinitions>
        <Image Height="72" Grid.Row="0" Name="image1" Stretch="Fill"
               Source="/Images/Images/logo.JPG"/>
        <Grid Grid.Row="1" Margin="10">
            <Grid.RowDefinitions>
                <RowDefinition Height="auto"/>
                <RowDefinition Height="auto"/>
                <RowDefinition Height="auto"/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="auto"/>
                <ColumnDefinition Width="*"/>
            </Grid.ColumnDefinitions>
            <Label Content="Tên người dùng" Height="27" Grid.Row="0" Grid.Column="0"/>
            <ComboBox Text="admin" Height="27" Name="cbTenNguoiDung" IsEditable="True" Grid.Row="0" Grid.Column="1"/>
            <Label Content="Mật Khẩu" Grid.Row="1" Grid.Column="0"/>
            <PasswordBox Password="123456" Height="23" Name="pbMatKhau" Grid.Row="1" Grid.Column="1"/>
            <Expander Header="Cơ sở dữ liệu" Height= "120" Grid.Row="2">
                <Grid Grid.Row="1" Margin="10">
                    <Grid.RowDefinitions>
                        <RowDefinition Height="auto"/>
                        <RowDefinition Height="auto"/>
                        <RowDefinition Height="auto"/> 
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="auto"/>
                        <ColumnDefinition Width="*"/>
                    </Grid.ColumnDefinitions>
                    <Label Content="Máy Chủ" Height="23" Grid.Row="0" Grid.Column="0"/>
                    <ComboBox Text="localhost" Height="23" Name="cbmaychu" IsEnabled="True" Grid.Row="0" Grid.Column="1"/>
                    <Label Content="Tên người dùng" Height="27" Grid.Row="1" Grid.Column="0"/>
                    <ComboBox Text="sa" Height="23" Name="cbTenNguoiDungMC" IsEditable="True" Grid.Row="1" Grid.Column="1"/>
                    <Label Content="Mật Khẩu" Height="27" Grid.Row="2" Grid.Column="0"/>
                    <PasswordBox Password="sa" Height="23" Name="ptMatKhauMC" Grid.Row="2" Grid.Column="1"/>
                </Grid>
            </Expander>
        </Grid>
    </Grid>
</Window>
